Hmm, something else I didn't know -- is _THIS_ in the standard?
Code:
struct mystruct {
        int item1, item2, item3, item4, item5, item10; // I think you get the point
} mystruct = {
        item1: 1,
        item2: 2,
        item5: 5,
        item4: 4,
};
Now, using the above struct definition, I have done this many times in the past:
Code:
struct mystruct mystruct = {
        .item1 = 1,
        .item2 = 2,
};
but the use of the colon is something I've never seen before. It this compiler dependent?


Thanks again!

Man, you think you know a language fairly well, then all sorts of new things start happening.